package com.atl.service;

import com.atl.enity.po.AgentUser;
import com.atl.enity.web.dto.AgentUserAddDTO;
import com.atl.enity.web.dto.AgentUserSearchDTO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 代理商用户表 服务类
 * </p>
 *
 * @author 
 * @since 2024-06-24
 */
public interface IAgentUserService extends IService<AgentUser> {

    Page<AgentUser> searchUser(AgentUserSearchDTO agentUserDTO);

    boolean addAgetnUser(AgentUserAddDTO agentUser, HttpServletRequest request);

    boolean updateAgetnUser(AgentUser agentUser, HttpServletRequest request);

    AgentUser login(String userAccount, String userPassword, HttpServletRequest request);
}
